package com.iris.live.services.data.repositories;

import com.iris.live.services.data.models.财务开票Model;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

/**
 * Created by sxy on 2016/7/13.
 */
public interface 财务开票Repository extends JpaRepository<财务开票Model, String>, JpaSpecificationExecutor<财务开票Model> {
    @Query("select a from 财务开票Model a where a.vin=?1")
    财务开票Model findByVIN(String VIN);
}
